home *** CD-ROM | disk | FTP | other *** search
- == NOSview [137]
- BM
- ==
-
- _________________________________________________________________
- DOS_PROMPT> BM [ -s <subject> ] <recipient> [<recipient> ...]
- _________________________________________________________________
- Send a mail message to one or more recipients. The '-s' option
- allows you to include a subject on the command line. If
- <subject> contains spaces or tabs, it must be enclosed in
- inverted commas or apostrophes.
-
- A <recipient> is either a user name defined in DOMAIN.TXT or an
- "alias," which is an alternative name for one or more users.
- Aliases are defined in the file N:\ALIAS.
-
- >> Examples: BM -s "Meeting Saturday" liz@ns9liz ken@ns9ken
- BM ns9ken%ax9bbs@ns9gwb
-
-
- _________________________________________________________________
- DOS_PROMPT> BM [ -u <mailbox> | -f <file> ]
- _________________________________________________________________
- Read a mailbox or file. Without an option, BM reads the default
- mailbox specified in BM.RC.
-
- The '-u' option allows you to specify an alternative mailbox, in
- which case BM will read N:\SPOOL\MAIL\<mailbox>.TXT. This is
- useful if you have saved previously received messages to a file,
- using the 's' command.
-
- The '-f' option allows you to read any text file in malibox
- format.
-
- >> Examples: BM -u ns9bob
- BM -f foo.txt
-
-
- ===============
- BM SUB-COMMANDS
- ===============
- The following sub-commands are available after starting BM:
-
-
- -----------------------------------------------------------------
- ?
- -----------------------------------------------------------------
- Print a help menu for BM commands.
-
-
- -----------------------------------------------------------------
- !<DOS_command>
- -----------------------------------------------------------------
- Run <DOS_command> from inside BM. An error message will result
- if there is not enough memory available to load the command.
-
- >> Example: !dir/w
-
-
- -----------------------------------------------------------------
- <n> [<n> ...]
- -----------------------------------------------------------------
- Display message(s) <n>. If a CR is entered on a blank line, the
- current message will be displayed.
-
-
- >> Example: 1 3 4 16
-
-
- -----------------------------------------------------------------
- $
- -----------------------------------------------------------------
- Update the mailbox, deleting messages marked for deletion and
- reading in any new mail that may have arrived since starting BM.
-
- If you have a large number of messages in your mailbox and are
- cleaning it up by marking unwanted messages for deletion,
- updating the mailbox will shorten the header list.
-
- -----------------------------------------------------------------
- b [<n>]
- -----------------------------------------------------------------
- Bounce a message. Bounce is similar to forwarding, but instead
- of your user information, the original sender information is
- maintained. If no message number <n> is supplied the current
- message is used.
-
- >> Example: b 12
-
-
- -----------------------------------------------------------------
- d [<n> ...]
- -----------------------------------------------------------------
- Mark message(s) for deletion. Messages marked for deletion are
- removed when exiting BM via the 'q' command or when changing to
- an alternate mailbox with the 'n' command.
-
- >> Example: d 1 3 5
-
-
- -----------------------------------------------------------------
- f [<n>]
- -----------------------------------------------------------------
- The 'f' command is used to forward a mail message to another
- recipient. If no message number <n> is supplied the current
- message is used. The user is prompted for the recipients and a
- subject. The RFC822 header is added to the message text while
- retaining the complete original message in the body. Also see
- the '~m' command.
-
- >> Example: f 12
-
-
- -----------------------------------------------------------------
- h
- -----------------------------------------------------------------
- Display message headers. The message headers contain the message
- number, the status indicating whether it has been read or
- deleted, the sender, size, date, and subject.
-
- "N" indicates that the message has not yet been read.
- "Y" indicates that it has been read.
- "D" indicates that the message has been marked for deletion.
-
-
- -----------------------------------------------------------------
- k <jobnumber> ...
- -----------------------------------------------------------------
- Remove outbound message(s) from the send queue (N:\SPOOL\MQUEUE).
- The <jobnumber> for the message to be removed may be obtained by
- giving the 'l' command.
-
- If the message is locked you will be warned that you may be
- removing a file that is currently being sent by SMTP. You will
- asked if this job should still be killed. (It is best not to
- remove locked messages. They are better handled with the 'tcp
- reset' command).
-
- >> Example: k 231
-
-
- -----------------------------------------------------------------
- l
- -----------------------------------------------------------------
- List outbound messages. The job number, the sender, and the
- destination for each message are displayed. A status of "L" will
- appear if the SMTP sender has the file locked.
-
-
- -----------------------------------------------------------------
- m [userlist]
- -----------------------------------------------------------------
- The 'm' (mail) command is used to send a message to one or more
- recipients. All local recipient names (those which don't contain
- an '@') are checked for possible aliases. If no arguments are
- supplied you will be prompted for a recipient list.
-
- While entering a message into the text buffer several commands
- are available such as invoking an editor, and reading in text
- from other messages or files. See below for a description of
- these commands.
-
- To end a message enter a line containing a single dot.
-
- It is important to remember that the input line buffer has a 128
- character limit. You should format your text by entering a CR at
- the end of each line. Typing excessively long lines may cause
- data loss due to truncation when passing the message through
- other hosts. Keeping lines less than 80 characters is always a
- good idea.
-
- >> Example: m liz@ns9liz
-
-
- --------------------
- Text buffer commands
- --------------------
- The following commands are available while entering text into the
- message buffer:
-
- ~? Display help menu of the tilde escape commands.
-
- ~e Invoke the editor defined in BM.RC with a
- temporary file containing the text in the
- message buffer.
-
- ~m <n> Read message <n> into the message buffer.
-
- ~p Display the text in the message buffer.
-
- ~q Abort the current message. No data is sent.
-
- ~r <filename> Read <filename> into the message buffer.
-
- ~~ Insert a single tilde (~) character into the
- message.
-
- . (dot) Save the current message.
-
-
- -----------------------------------------------------------------
- n [<mailbox>]
- -----------------------------------------------------------------
- Display or change mailbox. The 'n' command with no arguments
- will display a list of mailboxes containing mail. If a <mailbox>
- argument is supplied, then the current mailbox is closed and the
- new <mailbox> is opened.
-
- >> Example: n public
-
-
- -----------------------------------------------------------------
- p [<n> ...]
- -----------------------------------------------------------------
- The 'p' command is used to send messages to the printer. This
- command uses the DOS device PRN for output. This command is
- equivalent to 's [<n> ...] PRN'.
-
- >> Example: p 2 4 6
-
-
- -----------------------------------------------------------------
- q
- -----------------------------------------------------------------
- Quit to DOS updating the mailbox. Messages marked for deletion
- WILL be deleted.
-
-
- -----------------------------------------------------------------
- r [<n>]
- -----------------------------------------------------------------
- Reply to a message. Reply reads the header information in order
- to construct a reply to the sender. The destination information
- is taken from the "From:" or the "Reply- To:"header, if included.
- If no message number <n> is supplied the current message is used.
-
- >> Example: r 23
-
-
- -----------------------------------------------------------------
- s [<n> ...] [<filename>]
- -----------------------------------------------------------------
- The 's' command is used to save message(s) in a file. If no
- <filename> is given the default from the 'mbox' variable in BM.RC
- is used. If no message number <n> is supplied then the current
- message is saved.
-
- If <filename> does not exist, it will be created. If <filename>
- does exist, the messages will be appended to this file. The
- messages are stored in the same format as a mailbox file with all
- mail headers left intact.
-
- This file can later be read into BM by invoking BM with the '-f
- <filename>' argument.
-
- >> Example: s 1 2 3 spool/mail/intray.txt
-
-
- -----------------------------------------------------------------
- u [<n> ...]
- -----------------------------------------------------------------
- Undelete message(s) which have been marked for deletion. The
- status of a message can be determined by looking at the status
- field of the message using the 'h' command.
-
- >> Example: u 3 5
-
-
- -----------------------------------------------------------------
- w [<n> ...] <filename>
- -----------------------------------------------------------------
- The 'w' command is used to save message(s) in a file. Only the
- message body is saved. All mail headers are removed. If no
- message number <n> is supplied then the current message is saved.
-
- >> Example: w 3 archive1.txt
-
-
- -----------------------------------------------------------------
- x
- -----------------------------------------------------------------
- Exit to DOS without changing the data in the mailbox. Messages
- marked for deletion will NOT be deleted.
-